<layout name="layout" />
<link rel="stylesheet" href="/Css/noshow.css?_v=3.56" type="text/css">
<div class="pageheader notab">
	<h1 class="pagetitle">
		<a href="/" class="linkWay">首页/其他功能</a>
		&nbsp;<span class="divider">»</span>&nbsp;
		<a class="currentWay">删除垃圾词</a>
	</h1>
</div>
<!--<div class="pageheader">
	<h1 class="pagetitle"><a href="/">快捷功能</a>：无展现词出来(<span id="from_to"></span>)</h1>
</div>-->
<div class="contentwrapper nopadding noshow">
	<div class="main" id="contentwrapper">
		<div class="w-200 kh_dyntable" id="campaign_report">

		</div>
		<div class="del_content">
			<h1 class="font">删除规则选择</h1>
			<div class="rule_select">
				<ul class="choose_list">
					<li class="line show_word">
						<input type="checkbox" data-field="impressionsDay"/>
						<span class="font">投放</span>
						<select class="show_word" data-field="impressionsDay">
							<option value="7">7</option>
							<option value="15">15</option>
							<option value="30">30</option>
						</select>
						<span class="font">天无展现词</span>
					</li>
					<li class="line">
						<input type="checkbox" data-field="clickDay"/>
						<span class="font">投放</span>
						<select class="cilck_word" data-field="clickDay">
							<option value="7">7</option>
							<option value="15">15</option>
							<option value="30">30</option>
						</select>
						<span class="font">天无点击词</span>
					</li>
					<li class="line">
						<input type="checkbox" data-field="qscore"/>
						<span class="font">无线质量得分低于</span>
						<select class="wireless" data-field="qscore">
							<option value="0">0</option>
							<option value="1">1</option>
							<option value="2">2</option>
						</select>
						<span class="font">分</span>
					</li>
					<li class="line">
						<input type="checkbox" data-field="mobileQscore"/>
						<span class="font">PC质量得分低于</span>
						<select class="pc" data-field="mobileQscore">
							<option value="0">0</option>
							<option value="1">1</option>
							<option value="2">2</option>
						</select>
						<span class="font">分</span>
					</li>
				</ul>
				<div class="last_box" id="delete"><button class="del">删除</button></div>
				<div class="loging" style="width:100%;text-align:center;"></div>
			</div>
		</div>
		<!--<div class="stdbtnBox" style="text-align: center">
			<a class="btn btn3 btn_grey action_noshow_btn_all" href="javascript:void(0);" data-action='delete' data-title="你确定要删除选中的推广计划的无展现量的关键词吗?">删除无展现词</a>
			<a class="btn btn3 btn_grey action_noshow_btn_all" href="javascript:void(0);" data-action='activate' data-title="你确定要激活选中的推广计划的无展现量的关键词吗">激活无展现词</a>
		</div>-->
	</div>
</div>
<script id="template_campaign_reporter" type="text/html">
	<table class="metrotable overviewtable_plan" border="0" cellpadding="0" cellspacing="0">
		<colgroup>
			<col class="con1" width="5%">
			<col class="con0" width="5%"><!-- 状态 -->
			<col class="con1" width="15%"><!-- 推广计划名称 -->
			<col class="con1" width="5%"><!-- 日限额 -->
			<col class="con1" width="7%"><!-- 展现量 -->
			<col class="con0" width="7%"><!-- 点击量 -->
			<col class="con1" width="7%"><!-- 点击率 -->
			<col class="con0" width="7%"><!-- 花费 -->
			<col class="con1" width="7%"><!-- 投入产出比 -->
			<col class="con0" width="8%"><!-- 点击转化率 -->
		</colgroup>
		<thead>
		<tr>
			<th class="head1 nolborder">
				<input type="checkbox" class="select_items" id="selectall">
			</th>
			<th class="head0"><strong>状态</strong></th>
			<th class="head1"><strong>推广计划名称</strong></th>
			<th class="head1"><strong>日限额</strong></th>
			<th class="head1"><strong>展现量</strong></th>
			<th class="head0"><strong>点击量</strong></th>
			<th class="head1"><strong>点击率</strong></th>
			<th class="head0"><strong>花费</strong></th>
			<th class="head1"><strong>投入产出比</strong></th>
			<th class="head0"><strong>点击转化率</strong></th>
		</tr>
		</thead>
		<tbody>

		</tbody>
	</table>
</script>
<script id="template_campaign_reports" type="text/html" >
	<% for(var i = 0; i < data.length; i ++) { %>
	<% if (data[i].online_status == 'online') { %>
	<tr data-campaign_id="<%= data[i].campaign_id %>">
		<td>
			<input type="checkbox" class="select_items" data-campaign_id="<%= data[i].campaign_id %>" name="select_items">
		</td>
		<td class="green"><strong>推广中</strong></td>
		<td><%= data[i].title %></td>
		<td><%= data[i].budget %>元</td>
		<td><%= data[i].report.impressions %></td>
		<td><%= data[i].report.click %></td>
		<td><%= data[i].report.ctr %>%</td>
		<td>￥<%= data[i].report.cost %></td>
		<td><%= data[i].report.roi %></td>
		<td><%= data[i].report.cvr %></td>
	</tr>
	<% } %>
	<%}%>
</script>
<script>
	$(document).ready(function(){
		noshow.noshow($('.contentwrapper'), {header: $('.pageheader'),campaign_id:''}).init();
	});
</script>